import wordcloud
import matplotlib.pyplot as plt
str = "dsahoidsjgahfrwa94378032q9843jfbdsjgf38490324fdsgf"
str = str.lower()
dict1 = {}

for ch in str:
    if ch in dict1:
        dict1[ch] +=1
    else:
        dict1[ch] = 1
print(dict1)

wd = wordcloud.WordCloud(background_color ='white')
wd.generate_from_frequencies(dict1)

plt.imshow(wd)
plt.axis("off")
plt.show()